<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page  import="com.ambow.Entity.*" %>
<%@ page  import="com.ambow.dao.*" %>
<%@ page  import="com.ambow.dao.impl.*" %>
<%@ page  import="com.ambow.service.*" %>
<%@ page  import="com.ambow.service.impl.*" %>
<%@ page  import="com.ambow.utils.*" %>
<%@ page  import="com.ambow.servlet.*" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="Keywords" content="关键词1,关键词2，关键词3,关键词4,……" />
<meta name="Description" content="你网页的简述" />
<meta name="Robots" content="All" />
<meta name="Generator" content="Dreamweaver" />
<title>教材管理系统</title>
<link href="<%=path %>/static/css/css.css" rel="stylesheet" type="text/css" />

</head>

<body>
	<h3 id="subTitle">盘点管理－盘点记录</h3>
	<ul id="button">
		<li><a href="<%=path %>/pages/module/storage/storage004/pandian_query.jsp">返回</a></li>
	</ul>

	<table width="90%" border="0" align="center" cellpadding="0"
		cellspacing="0" class="table">
        
       
		<tr>
			<td width="10%" align="center" class="title2">管理员</td>
			<td width="10%" align="center" class="title2">时间</td>
			<td width="10%" align="center" class="title2">动作</td>
			<td width="10%" align="center" class="title2">教材</td>
			<td width="10%" align="center" class="title2">数量</td>
			<td width="10%" align="center" class="title2">原因</td>
		</tr>
		<%   List<Inventory> list=(List)request.getAttribute("list");
		   if(list!=null&&list.size()!=0){
			   for(Inventory inventory:list){
				   
		%>
		<tr>
		   
			<td align="center"><%=inventory.getOperator().getAccount()%></td>
			<td align="center"><%=inventory.getDate() %></td>
			<td align="center"><%=inventory.getAction() %></td>

			<td align="center"><a href="<%=path %>/InventoryServlet?status=detail&id=<%=inventory.getTextBook().getId()%>">
			<%=inventory.getTextBook().getName() %></a></td>
			<td align="center"><%=inventory.getAmount() %></td>
			<td align="center"><%=inventory.getReason() %></td>
		</tr>
	   <%   }
		   }else{
			   
		   
	   %>
	    <tr align="center" class="within2bg">
				<td colspan="7" class="no_note">没有符合条件的记录</td>
			</tr>
	   <% } %>
	</table>
</body>
</html>